package top.infopub.mgr.mkt.dao;

import org.apache.ibatis.annotations.Param;
import top.infopub.generic.GenericDao;
import top.infopub.model.mkt.AfterSummaryBid;

import java.util.List;

/** 中标单位报价(MKT_AFTER_SUMMARY_BID) **/
public interface AfterSummaryBidDao extends GenericDao<AfterSummaryBid, String> {

	/**
	 * 批量添加中标单位报价
	 */
    void insertByBatch(List<AfterSummaryBid> list);

	/**
	 * 根据开标结果Id查询中标单位报价
	 * @param afterSummaryId
	 * @return
	 */
	List<AfterSummaryBid> selectByAfterSummaryId(@Param("afterSummaryId") String afterSummaryId);

    void deleteBySummaryId(String id);
}
